package com.gticket.buyticket.mapper;

import com.gticket.buyticket.pojo.ActualSeat;
import com.gticket.buyticket.pojo.FilmSchedule;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface ActualSeatMapper {

    //查询座位布局｛电影布局页面｝
	@Select("select row_1,row_2,row_3,row_4,row_5,row_6,row_7,row_8,row_9,row_10,row_11,row_12,row_13,row_14,row_15 from ${database}.actualseat where as_id=(select as_id from ${database}.filmschedule where fs_id = #{fs_id})")
    public ActualSeat getSeatLayout(ActualSeat actualSeat);

}
